projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26e001
)
repo: remove now-incorrect comment
author
Felix Krull
<f_krull@gmx.de>
Sun, 7 Oct 2018 21:50:41 +0000
(23:50 +0200)
committer
Colin Walters
<walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000
(12:53 -0400)
rust-bindings/rust/libostree/src/repo.rs
patch
|
blob
|
history
diff --git
a/rust-bindings/rust/libostree/src/repo.rs
b/rust-bindings/rust/libostree/src/repo.rs
index 4b887b2f6ab62f1cbf0b8bc2545cc9821d79ed56..d46861efd6463014d398be2283325a6c5d057579 100644
(file)
--- a/
rust-bindings/rust/libostree/src/repo.rs
+++ b/
rust-bindings/rust/libostree/src/repo.rs
@@
-13,7
+13,6
@@
use ObjectName;
unsafe extern "C" fn read_variant_table(_key: glib_ffi::gpointer, value: glib_ffi::gpointer, hash_set: glib_ffi::gpointer) {
let value: glib::Variant = from_glib_none(value as *const glib_ffi::GVariant);
- // TODO: this set is degenerate because g_variant_hash for my Variants is always 0
let set: &mut HashSet<ObjectName> = &mut *(hash_set as *mut HashSet<ObjectName>);
set.insert(ObjectName::new(value));
}